@mixin hover-center {
  position: absolute;
  cursor: pointer;
  &:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  &:hover, &.active {
    &:after {
      border: 1px dashed darkcyan;
    }
  }
}

.h5 {
  &-block {
    @include hover-center;
    p{
      margin: 0;
    }
  }
  &-text {
    p{
      word-break:break-word;
    }
  }
  
}
